home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Magazine / Morphos / GCC / ppc-amigaos / include / mgl / vertexbuffer.h < prev   
C/C++ Source or Header  |  1999-12-22  |  771b  |  43 lines

  1. /*
  2.  * $Id: vertexbuffer.h,v 1.1.1.1 1999/12/22 12:40:14 hfrieden Exp $
  3.  *
  4.  * $Author: hfrieden $
  5.  *
  6.  * $Date: 1999/12/22 12:40:14 $
  7.  * $Revision: 1.1.1.1 $
  8.  *
  9.  * (C) 1999 by Hyperion Software
  10.  * All rights reserved
  11.  *
  12.  * This file is part of the MiniGL library project
  13.  * See the file Licence.txt for more details
  14.  *
  15.  */
  16.  
  17. #ifndef __VERTEXBUFFER_H
  18. #define __VERTEXBUFFER_H
  19.  
  20. #include <Warp3D/Warp3D.h>
  21.  
  22. struct MGLVertex_t {
  23.     W3D_Vertex  v;
  24.     GLubyte     outcode;
  25.     GLboolean   inview;
  26.     float bx,by,bz,bw;
  27.     MGLNormal   Normal;
  28. };
  29.  
  30. typedef struct MGLVertex_t MGLVertex;
  31.  
  32. enum {
  33.     MGL_CLIP_NEGW   =   1<<0,
  34.     MGL_CLIP_TOP    =   1<<1,
  35.     MGL_CLIP_BOTTOM =   1<<2,
  36.     MGL_CLIP_LEFT   =   1<<3,
  37.     MGL_CLIP_RIGHT  =   1<<4,
  38.     MGL_CLIP_FRONT  =   1<<5,
  39.     MGL_CLIP_BACK   =   1<<6
  40. };
  41.  
  42. #endif
  43.